//
//  ZXBoutiqueViewModel.h
//  XiMaFM
//
//  Created by fanzhuxian on 2017/9/6.
//  Copyright © 2017年 hcios. All rights reserved.
//

#import "BaseViewModel.h"
#import "ZXBoutiqueModel.h"


@interface ZXBoutiqueViewModel : BaseViewModel

@property (nonatomic, strong) ZXBoutiqueModel * boutiqueModel;

@property (nonatomic, strong) NSArray * categoryContentsArr;    ///< 存储推荐categoryContents_list各个分类栏

@property (nonatomic, assign) NSInteger section;    ///< 返回分组数

///< 给titleView的组title
- (NSString *)mainTitleForSection:(NSInteger)section;

- (BOOL)hasMoreForSection:(NSInteger)section;

- (NSInteger)categoryContentsCount:(NSInteger)section;

///< 给findPutCell的属性方法
// 图
- (NSURL *)coverURLForSection:(NSInteger)section index:(NSInteger)index;

// 标题
- (NSString *)titleForSection:(NSInteger)section index:(NSInteger)index;

//评分
-(NSInteger)scoreForSection:(NSInteger)section index:(NSInteger)index;

//评论
-(NSInteger)commentsCountForSection:(NSInteger)section index:(NSInteger)index;

//价格
-(NSInteger)priceForSection:(NSInteger)section index:(NSInteger)index;

//会员价格
-(NSString *)displayVipPriceForSection:(NSInteger)section index:(NSInteger)index;

// 详情
- (NSString *)trackTitleForSection:(NSInteger)section index:(NSInteger)index;

// 跳转键
- (NSInteger)albumIdForSection:(NSInteger)section index:(NSInteger)index;

// 集数  -- 跳转页tableView的row
- (NSInteger)tracksForSection:(NSInteger)section index:(NSInteger)index;

#pragma mark - 头部滚动视图
@property (nonatomic, assign) NSInteger focusImgNumber;    ///< 滚动展示栏的图片数量

- (NSURL *)focusImgURLForIndex:(NSInteger)index;    ///< 图片地址

#pragma mark - 跳转需要值
- (NSInteger)categoryIdForSection:(NSInteger)section;

- (NSString *)contentTypeForSection:(NSInteger)section;

@end
